package code.whmmm.util.simple.wrapper;

import code.whmmm.util.simple.ValueWrapper;

/**
 * <p><b>
 *
 * </b></p>
 * <br/>
 * 创建时间: 2019/12/17 9:39
 *
 * @author Zero
 */
public class NumUtil {

    public static boolean isNullOrZero(Integer n) {
        int i = 0;
        if (null != n) {
            i = n;
        }
        return i == 0;
    }

    public static boolean greaterZero(Object integer) {
        return ValueWrapper.getInt(integer) > 0;
    }

    public static boolean greaterZero(Integer integer) {
        return ValueWrapper.getInt(integer) > 0;
    }

}
